﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using TruckScale.Models;

namespace TruckScale
{
  /// <summary>
  /// Interaction logic for App.xaml
  /// </summary>
  public partial class App : Application
  {
    public App()
    {
      this.InitializeComponent();
      //程序刚开始运行时，就要读取数据库中的配置信息
      Global._weighConfig = WeighConfigModel.SelectConfig();
      Global._hardwareConfig = HardwareConfigModel.SelectConfig();
    }
  }
}
